<?php
/**
 * Created by PhpStorm.
 * User: Jasony
 * Date: 2017-12-20
 * Time: 00:06
 */

namespace app\common\model;


use app\base\BaseModel;
use think\Model;

class AdminUsers extends BaseModel
{
    public function userGroup()
    {
        return $this->hasMany('AuthGroupAccess', 'uid','user_id')->with('groups');
    }

}